\documentclass[11pt]{article}

\usepackage{booktabs}

\begin{document}

\begin{table}
\label{tab:table}
\input{test}
\end{table}

\end{document}
